<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>日志编辑</title>
        <link href="../style/main.css" rel="stylesheet" type="text/css" />
        <link type="text/css" rel="stylesheet" href="../style/style.css" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
}
-->
</style>
<style type="text/css">
<!--
a:visited {
	color: #000000;
	text-decoration: none;
}
a:hover {
	color: #FF0000;
	text-decoration: none;
}
a:active {
	color: #0066FF;
	text-decoration: none;
}
a:link {
	color:#3333CC;
	text-decoration: none;
}
.STYLE2 {
	font-size: 18px;
	font-weight: bold;
}
.table {
	border-top-width: medium;
	border-right-width: medium;
	border-bottom-width: medium;
	border-left-width: medium;
	border-top-style: double;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	border-top-color: #999999;
	border-right-color: #999999;
	border-bottom-color: #999999;
	border-left-color: #999999;
}
.STYLE3 {font-size: 12px}
-->
</style>

<%@ taglib prefix="s" uri="/struts-tags" %>

<script type="text/javascript" src="../ckeditor/ckeditor.js"></script>
</head>
<body>

<div id="editLogDiv" class="search">
    <s:form id="editLogForm" name="editLogForm" action="worklog!updateWorklog" method="post" theme="simple">
    	
    	<s:hidden name="worklog.logId"></s:hidden>
    	<table width="100%" border="0" align="left" cellpadding="0" cellspacing="2" class="table4" >
        	<tr>
            	<th height="25" colspan="3" bgcolor="#BBD2F7" class="title">修改日志</th>
            </tr>
            <tr height="50px">
            	<th width="60px">主题：</th>
                <td width="700px">
                	<s:textfield id="logTitle" name="worklog.logTitle" cssStyle="width:500px"/>
                </td>
                <td></td>
            </tr>
            <tr height="50px">
            	<th>日期：</th>
                <td align="left">
                	<s:date id="logdate" name="worklog.logdate" format="yyyy-MM-dd"/>
                </td>
                <td></td>
            </tr>
            <tr>
            	<th valign="top" width="60px">正文：</th>
                <td>
                	<s:textarea id="logCont" name="worklog.logCont" cols="100" rows="20"></s:textarea>
                </td>
                <td></td>
            </tr>
            <tr>
            	<td></td>
            	<td align="right">
            		<s:submit cssStyle="width:60px" value="更新" />
            		<input type="button" style="width:60px" value="取消" />
            	</td>
                <td></td>
            </tr>
            <tr>
            	<td colspan="3"></td>
            </tr>
        </table>
        
		<script type="text/javascript"> 
		   CKEDITOR.replace('logCont'); 
		</script> 
    </s:form>
</div>
</body>
</html>